import { getRequest, postRequest, deleteRequest} from '@/libs/axios';

export const getClientDetails= (params) => {//portal 单点客户端管理接口分页列表
    return getRequest('/oauthClientDetails/getByPage', params)
}
export const delByIds= (ids,params) => {//删除
    return deleteRequest(`/oauthClientDetails/delByIds/${ids}`, params)
}
export const getClientId= (params) => {//获取clientId
    return getRequest('/oauthClientDetails/get', params)
}
export const insertOrUpdate= (params) => {//获取clientId
    return postRequest('/oauthClientDetails/insertOrUpdate', params)
}
// export const smsSendCode= (params) => {//web端获取短信接口/
//     return postRequest('/smsLogin/sendCode', params)
// }
